Skip to content
QtWS25 Last Chance
  • 0 Votes
    2 Posts
    2k Views
    K
    Hi and welcome to devnet Check out fromHex
  • Got VNC platform plugin working on Qt 5

    General and Desktop vnc qt 5
    11
    1 Votes
    11 Posts
    18k Views
    M
    For those who find this via web search, the port can be set via a … drum roll … port=INTEGER parameter, as in #!/bin/sh export QT_QPA_PLATFORM=vnc:size=480x300:addr=127.0.0.1:port=$(expr 5900 + ${SCREEN:-1}) export QT_PLUGIN_PATH=/usr/lib/qt/plugins here="$(dirname "$0")" exec "${here}"/gui.real
  • 0 Votes
    3 Posts
    1k Views
    4
    @Leonardo I think it's for *nix systems, I want it in windows
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Qt Signal not Emitting on Second Time

    General and Desktop qt 5 signal slot
    4
    0 Votes
    4 Posts
    2k Views
    A
    Are you sure the signal isn't getting emitted or is it a getting emitted but the sendmail object isn't picking it up? My guess is your send mail object is doing something (locked up and never going back to the event loop). So it is never receiving that second message since it never gets back to the event loop. Don't know for sure without seeing the code for it, but just something I've noticed in thread programming with Qt. You could gdb to break into the application and see what your thread is doing. If it isn't in processEvents() that is probably the issue. Oh and one more thing, you can easily test the emitter by create a fake sendmail object with that same slot, then just have it write to the console when it sees that signal. That way you know if is doing nothing but writing to the console and exiting the slot so there won't be any hang ups. My guess is it will work and that your problem lies in the sendmail object. [edit]: added more ideas :)
  • 0 Votes
    1 Posts
    837 Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    L
    add -tslib and recompile qt and chart example but not solved ! ./configure -prefix /opt/installed/arm/QtEmbededd-5.4-static-tiny210/ -opensource -confirm-license -no-xcb -xplatform linux-arm-gnueabi-g++ -nomake examples -feature-THREAD -feature-CONCURRENT -feature-SOUND -feature-EFFECTS -no-openssl -lpthread -optimized-qmake -no-cups -qt-zlib -static -qt-libjpeg -qt-libpng -qt-sql-sqlite -qpa linuxfb -linuxfb -tslib export TSLIB_FBDEVICE='/dev/fb0' export TSLIB_TSDEVICE=/dev/touchscreen-1wire export TSLIB_PLUGINDIR='/usr/lib/ts' export TSLIB_CONFFILE='/etc/ts.conf' export TSLIB_CALIBFILE='/etc/pointercal' export TSLIB_CONSOLEDEVICE='none' export TSLIB_TSEVENTTYPE='INPUT' export QT_DEBUG_PLUGINS=1 cat /dev/touchscreen-1wire | hexdump 0000000 0fff 0fff 07c6 8629 07c5 8626 07c5 8626 0000010 0fff 0fff 0966 85bb 096c 85b9 0968 85a8 0000020 0968 85a8 0fff 0fff 0964 85ba 0938 85a9 0000030 08ba 8571 085d 8559 07a1 8573 0736 8599 $chartthemes -platform linuxfb -plugin tslib QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" since plugins are disabled in static buils QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPlatformInputContextFactoryInterface" since plugins are disabled in static builds QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QGenericPluginFactoryInterface" since plugins are disabled in static builds QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QStyleFactoryInterface" since plugins are disabled in static builds